package cn.cnic.user.component.system.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PersonExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PersonExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPersonidIsNull() {
            addCriterion("personId is null");
            return (Criteria) this;
        }

        public Criteria andPersonidIsNotNull() {
            addCriterion("personId is not null");
            return (Criteria) this;
        }

        public Criteria andPersonidEqualTo(String value) {
            addCriterion("personId =", value, "personid");
            return (Criteria) this;
        }

        public Criteria andPersonidNotEqualTo(String value) {
            addCriterion("personId <>", value, "personid");
            return (Criteria) this;
        }

        public Criteria andPersonidGreaterThan(String value) {
            addCriterion("personId >", value, "personid");
            return (Criteria) this;
        }

        public Criteria andPersonidGreaterThanOrEqualTo(String value) {
            addCriterion("personId >=", value, "personid");
            return (Criteria) this;
        }

        public Criteria andPersonidLessThan(String value) {
            addCriterion("personId <", value, "personid");
            return (Criteria) this;
        }

        public Criteria andPersonidLessThanOrEqualTo(String value) {
            addCriterion("personId <=", value, "personid");
            return (Criteria) this;
        }

        public Criteria andPersonidLike(String value) {
            addCriterion("personId like", value, "personid");
            return (Criteria) this;
        }

        public Criteria andPersonidNotLike(String value) {
            addCriterion("personId not like", value, "personid");
            return (Criteria) this;
        }

        public Criteria andPersonidIn(List<String> values) {
            addCriterion("personId in", values, "personid");
            return (Criteria) this;
        }

        public Criteria andPersonidNotIn(List<String> values) {
            addCriterion("personId not in", values, "personid");
            return (Criteria) this;
        }

        public Criteria andPersonidBetween(String value1, String value2) {
            addCriterion("personId between", value1, value2, "personid");
            return (Criteria) this;
        }

        public Criteria andPersonidNotBetween(String value1, String value2) {
            addCriterion("personId not between", value1, value2, "personid");
            return (Criteria) this;
        }

        public Criteria andIdcardIsNull() {
            addCriterion("idCard is null");
            return (Criteria) this;
        }

        public Criteria andIdcardIsNotNull() {
            addCriterion("idCard is not null");
            return (Criteria) this;
        }

        public Criteria andIdcardEqualTo(String value) {
            addCriterion("idCard =", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotEqualTo(String value) {
            addCriterion("idCard <>", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardGreaterThan(String value) {
            addCriterion("idCard >", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardGreaterThanOrEqualTo(String value) {
            addCriterion("idCard >=", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardLessThan(String value) {
            addCriterion("idCard <", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardLessThanOrEqualTo(String value) {
            addCriterion("idCard <=", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardLike(String value) {
            addCriterion("idCard like", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotLike(String value) {
            addCriterion("idCard not like", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardIn(List<String> values) {
            addCriterion("idCard in", values, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotIn(List<String> values) {
            addCriterion("idCard not in", values, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardBetween(String value1, String value2) {
            addCriterion("idCard between", value1, value2, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotBetween(String value1, String value2) {
            addCriterion("idCard not between", value1, value2, "idcard");
            return (Criteria) this;
        }

        public Criteria andPassportnoIsNull() {
            addCriterion("passportNo is null");
            return (Criteria) this;
        }

        public Criteria andPassportnoIsNotNull() {
            addCriterion("passportNo is not null");
            return (Criteria) this;
        }

        public Criteria andPassportnoEqualTo(String value) {
            addCriterion("passportNo =", value, "passportno");
            return (Criteria) this;
        }

        public Criteria andPassportnoNotEqualTo(String value) {
            addCriterion("passportNo <>", value, "passportno");
            return (Criteria) this;
        }

        public Criteria andPassportnoGreaterThan(String value) {
            addCriterion("passportNo >", value, "passportno");
            return (Criteria) this;
        }

        public Criteria andPassportnoGreaterThanOrEqualTo(String value) {
            addCriterion("passportNo >=", value, "passportno");
            return (Criteria) this;
        }

        public Criteria andPassportnoLessThan(String value) {
            addCriterion("passportNo <", value, "passportno");
            return (Criteria) this;
        }

        public Criteria andPassportnoLessThanOrEqualTo(String value) {
            addCriterion("passportNo <=", value, "passportno");
            return (Criteria) this;
        }

        public Criteria andPassportnoLike(String value) {
            addCriterion("passportNo like", value, "passportno");
            return (Criteria) this;
        }

        public Criteria andPassportnoNotLike(String value) {
            addCriterion("passportNo not like", value, "passportno");
            return (Criteria) this;
        }

        public Criteria andPassportnoIn(List<String> values) {
            addCriterion("passportNo in", values, "passportno");
            return (Criteria) this;
        }

        public Criteria andPassportnoNotIn(List<String> values) {
            addCriterion("passportNo not in", values, "passportno");
            return (Criteria) this;
        }

        public Criteria andPassportnoBetween(String value1, String value2) {
            addCriterion("passportNo between", value1, value2, "passportno");
            return (Criteria) this;
        }

        public Criteria andPassportnoNotBetween(String value1, String value2) {
            addCriterion("passportNo not between", value1, value2, "passportno");
            return (Criteria) this;
        }

        public Criteria andOfficernoIsNull() {
            addCriterion("officerNo is null");
            return (Criteria) this;
        }

        public Criteria andOfficernoIsNotNull() {
            addCriterion("officerNo is not null");
            return (Criteria) this;
        }

        public Criteria andOfficernoEqualTo(String value) {
            addCriterion("officerNo =", value, "officerno");
            return (Criteria) this;
        }

        public Criteria andOfficernoNotEqualTo(String value) {
            addCriterion("officerNo <>", value, "officerno");
            return (Criteria) this;
        }

        public Criteria andOfficernoGreaterThan(String value) {
            addCriterion("officerNo >", value, "officerno");
            return (Criteria) this;
        }

        public Criteria andOfficernoGreaterThanOrEqualTo(String value) {
            addCriterion("officerNo >=", value, "officerno");
            return (Criteria) this;
        }

        public Criteria andOfficernoLessThan(String value) {
            addCriterion("officerNo <", value, "officerno");
            return (Criteria) this;
        }

        public Criteria andOfficernoLessThanOrEqualTo(String value) {
            addCriterion("officerNo <=", value, "officerno");
            return (Criteria) this;
        }

        public Criteria andOfficernoLike(String value) {
            addCriterion("officerNo like", value, "officerno");
            return (Criteria) this;
        }

        public Criteria andOfficernoNotLike(String value) {
            addCriterion("officerNo not like", value, "officerno");
            return (Criteria) this;
        }

        public Criteria andOfficernoIn(List<String> values) {
            addCriterion("officerNo in", values, "officerno");
            return (Criteria) this;
        }

        public Criteria andOfficernoNotIn(List<String> values) {
            addCriterion("officerNo not in", values, "officerno");
            return (Criteria) this;
        }

        public Criteria andOfficernoBetween(String value1, String value2) {
            addCriterion("officerNo between", value1, value2, "officerno");
            return (Criteria) this;
        }

        public Criteria andOfficernoNotBetween(String value1, String value2) {
            addCriterion("officerNo not between", value1, value2, "officerno");
            return (Criteria) this;
        }

        public Criteria andLicensenoIsNull() {
            addCriterion("licenseNo is null");
            return (Criteria) this;
        }

        public Criteria andLicensenoIsNotNull() {
            addCriterion("licenseNo is not null");
            return (Criteria) this;
        }

        public Criteria andLicensenoEqualTo(String value) {
            addCriterion("licenseNo =", value, "licenseno");
            return (Criteria) this;
        }

        public Criteria andLicensenoNotEqualTo(String value) {
            addCriterion("licenseNo <>", value, "licenseno");
            return (Criteria) this;
        }

        public Criteria andLicensenoGreaterThan(String value) {
            addCriterion("licenseNo >", value, "licenseno");
            return (Criteria) this;
        }

        public Criteria andLicensenoGreaterThanOrEqualTo(String value) {
            addCriterion("licenseNo >=", value, "licenseno");
            return (Criteria) this;
        }

        public Criteria andLicensenoLessThan(String value) {
            addCriterion("licenseNo <", value, "licenseno");
            return (Criteria) this;
        }

        public Criteria andLicensenoLessThanOrEqualTo(String value) {
            addCriterion("licenseNo <=", value, "licenseno");
            return (Criteria) this;
        }

        public Criteria andLicensenoLike(String value) {
            addCriterion("licenseNo like", value, "licenseno");
            return (Criteria) this;
        }

        public Criteria andLicensenoNotLike(String value) {
            addCriterion("licenseNo not like", value, "licenseno");
            return (Criteria) this;
        }

        public Criteria andLicensenoIn(List<String> values) {
            addCriterion("licenseNo in", values, "licenseno");
            return (Criteria) this;
        }

        public Criteria andLicensenoNotIn(List<String> values) {
            addCriterion("licenseNo not in", values, "licenseno");
            return (Criteria) this;
        }

        public Criteria andLicensenoBetween(String value1, String value2) {
            addCriterion("licenseNo between", value1, value2, "licenseno");
            return (Criteria) this;
        }

        public Criteria andLicensenoNotBetween(String value1, String value2) {
            addCriterion("licenseNo not between", value1, value2, "licenseno");
            return (Criteria) this;
        }

        public Criteria andOrcidIsNull() {
            addCriterion("orcId is null");
            return (Criteria) this;
        }

        public Criteria andOrcidIsNotNull() {
            addCriterion("orcId is not null");
            return (Criteria) this;
        }

        public Criteria andOrcidEqualTo(String value) {
            addCriterion("orcId =", value, "orcid");
            return (Criteria) this;
        }

        public Criteria andOrcidNotEqualTo(String value) {
            addCriterion("orcId <>", value, "orcid");
            return (Criteria) this;
        }

        public Criteria andOrcidGreaterThan(String value) {
            addCriterion("orcId >", value, "orcid");
            return (Criteria) this;
        }

        public Criteria andOrcidGreaterThanOrEqualTo(String value) {
            addCriterion("orcId >=", value, "orcid");
            return (Criteria) this;
        }

        public Criteria andOrcidLessThan(String value) {
            addCriterion("orcId <", value, "orcid");
            return (Criteria) this;
        }

        public Criteria andOrcidLessThanOrEqualTo(String value) {
            addCriterion("orcId <=", value, "orcid");
            return (Criteria) this;
        }

        public Criteria andOrcidLike(String value) {
            addCriterion("orcId like", value, "orcid");
            return (Criteria) this;
        }

        public Criteria andOrcidNotLike(String value) {
            addCriterion("orcId not like", value, "orcid");
            return (Criteria) this;
        }

        public Criteria andOrcidIn(List<String> values) {
            addCriterion("orcId in", values, "orcid");
            return (Criteria) this;
        }

        public Criteria andOrcidNotIn(List<String> values) {
            addCriterion("orcId not in", values, "orcid");
            return (Criteria) this;
        }

        public Criteria andOrcidBetween(String value1, String value2) {
            addCriterion("orcId between", value1, value2, "orcid");
            return (Criteria) this;
        }

        public Criteria andOrcidNotBetween(String value1, String value2) {
            addCriterion("orcId not between", value1, value2, "orcid");
            return (Criteria) this;
        }

        public Criteria andOpenidIsNull() {
            addCriterion("openId is null");
            return (Criteria) this;
        }

        public Criteria andOpenidIsNotNull() {
            addCriterion("openId is not null");
            return (Criteria) this;
        }

        public Criteria andOpenidEqualTo(String value) {
            addCriterion("openId =", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotEqualTo(String value) {
            addCriterion("openId <>", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidGreaterThan(String value) {
            addCriterion("openId >", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidGreaterThanOrEqualTo(String value) {
            addCriterion("openId >=", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLessThan(String value) {
            addCriterion("openId <", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLessThanOrEqualTo(String value) {
            addCriterion("openId <=", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLike(String value) {
            addCriterion("openId like", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotLike(String value) {
            addCriterion("openId not like", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidIn(List<String> values) {
            addCriterion("openId in", values, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotIn(List<String> values) {
            addCriterion("openId not in", values, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidBetween(String value1, String value2) {
            addCriterion("openId between", value1, value2, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotBetween(String value1, String value2) {
            addCriterion("openId not between", value1, value2, "openid");
            return (Criteria) this;
        }

        public Criteria andChinesenameIsNull() {
            addCriterion("chineseName is null");
            return (Criteria) this;
        }

        public Criteria andChinesenameIsNotNull() {
            addCriterion("chineseName is not null");
            return (Criteria) this;
        }

        public Criteria andChinesenameEqualTo(String value) {
            addCriterion("chineseName =", value, "chinesename");
            return (Criteria) this;
        }

        public Criteria andChinesenameNotEqualTo(String value) {
            addCriterion("chineseName <>", value, "chinesename");
            return (Criteria) this;
        }

        public Criteria andChinesenameGreaterThan(String value) {
            addCriterion("chineseName >", value, "chinesename");
            return (Criteria) this;
        }

        public Criteria andChinesenameGreaterThanOrEqualTo(String value) {
            addCriterion("chineseName >=", value, "chinesename");
            return (Criteria) this;
        }

        public Criteria andChinesenameLessThan(String value) {
            addCriterion("chineseName <", value, "chinesename");
            return (Criteria) this;
        }

        public Criteria andChinesenameLessThanOrEqualTo(String value) {
            addCriterion("chineseName <=", value, "chinesename");
            return (Criteria) this;
        }

        public Criteria andChinesenameLike(String value) {
            addCriterion("chineseName like", value, "chinesename");
            return (Criteria) this;
        }

        public Criteria andChinesenameNotLike(String value) {
            addCriterion("chineseName not like", value, "chinesename");
            return (Criteria) this;
        }

        public Criteria andChinesenameIn(List<String> values) {
            addCriterion("chineseName in", values, "chinesename");
            return (Criteria) this;
        }

        public Criteria andChinesenameNotIn(List<String> values) {
            addCriterion("chineseName not in", values, "chinesename");
            return (Criteria) this;
        }

        public Criteria andChinesenameBetween(String value1, String value2) {
            addCriterion("chineseName between", value1, value2, "chinesename");
            return (Criteria) this;
        }

        public Criteria andChinesenameNotBetween(String value1, String value2) {
            addCriterion("chineseName not between", value1, value2, "chinesename");
            return (Criteria) this;
        }

        public Criteria andEnglishnameIsNull() {
            addCriterion("englishName is null");
            return (Criteria) this;
        }

        public Criteria andEnglishnameIsNotNull() {
            addCriterion("englishName is not null");
            return (Criteria) this;
        }

        public Criteria andEnglishnameEqualTo(String value) {
            addCriterion("englishName =", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameNotEqualTo(String value) {
            addCriterion("englishName <>", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameGreaterThan(String value) {
            addCriterion("englishName >", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameGreaterThanOrEqualTo(String value) {
            addCriterion("englishName >=", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameLessThan(String value) {
            addCriterion("englishName <", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameLessThanOrEqualTo(String value) {
            addCriterion("englishName <=", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameLike(String value) {
            addCriterion("englishName like", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameNotLike(String value) {
            addCriterion("englishName not like", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameIn(List<String> values) {
            addCriterion("englishName in", values, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameNotIn(List<String> values) {
            addCriterion("englishName not in", values, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameBetween(String value1, String value2) {
            addCriterion("englishName between", value1, value2, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameNotBetween(String value1, String value2) {
            addCriterion("englishName not between", value1, value2, "englishname");
            return (Criteria) this;
        }

        public Criteria andGenderIsNull() {
            addCriterion("gender is null");
            return (Criteria) this;
        }

        public Criteria andGenderIsNotNull() {
            addCriterion("gender is not null");
            return (Criteria) this;
        }

        public Criteria andGenderEqualTo(String value) {
            addCriterion("gender =", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotEqualTo(String value) {
            addCriterion("gender <>", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThan(String value) {
            addCriterion("gender >", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThanOrEqualTo(String value) {
            addCriterion("gender >=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThan(String value) {
            addCriterion("gender <", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThanOrEqualTo(String value) {
            addCriterion("gender <=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLike(String value) {
            addCriterion("gender like", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotLike(String value) {
            addCriterion("gender not like", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderIn(List<String> values) {
            addCriterion("gender in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotIn(List<String> values) {
            addCriterion("gender not in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderBetween(String value1, String value2) {
            addCriterion("gender between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotBetween(String value1, String value2) {
            addCriterion("gender not between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNull() {
            addCriterion("birthday is null");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNotNull() {
            addCriterion("birthday is not null");
            return (Criteria) this;
        }

        public Criteria andBirthdayEqualTo(String value) {
            addCriterion("birthday =", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotEqualTo(String value) {
            addCriterion("birthday <>", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThan(String value) {
            addCriterion("birthday >", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThanOrEqualTo(String value) {
            addCriterion("birthday >=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThan(String value) {
            addCriterion("birthday <", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThanOrEqualTo(String value) {
            addCriterion("birthday <=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLike(String value) {
            addCriterion("birthday like", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotLike(String value) {
            addCriterion("birthday not like", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayIn(List<String> values) {
            addCriterion("birthday in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotIn(List<String> values) {
            addCriterion("birthday not in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayBetween(String value1, String value2) {
            addCriterion("birthday between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotBetween(String value1, String value2) {
            addCriterion("birthday not between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andEthnicityIsNull() {
            addCriterion("ethnicity is null");
            return (Criteria) this;
        }

        public Criteria andEthnicityIsNotNull() {
            addCriterion("ethnicity is not null");
            return (Criteria) this;
        }

        public Criteria andEthnicityEqualTo(String value) {
            addCriterion("ethnicity =", value, "ethnicity");
            return (Criteria) this;
        }

        public Criteria andEthnicityNotEqualTo(String value) {
            addCriterion("ethnicity <>", value, "ethnicity");
            return (Criteria) this;
        }

        public Criteria andEthnicityGreaterThan(String value) {
            addCriterion("ethnicity >", value, "ethnicity");
            return (Criteria) this;
        }

        public Criteria andEthnicityGreaterThanOrEqualTo(String value) {
            addCriterion("ethnicity >=", value, "ethnicity");
            return (Criteria) this;
        }

        public Criteria andEthnicityLessThan(String value) {
            addCriterion("ethnicity <", value, "ethnicity");
            return (Criteria) this;
        }

        public Criteria andEthnicityLessThanOrEqualTo(String value) {
            addCriterion("ethnicity <=", value, "ethnicity");
            return (Criteria) this;
        }

        public Criteria andEthnicityLike(String value) {
            addCriterion("ethnicity like", value, "ethnicity");
            return (Criteria) this;
        }

        public Criteria andEthnicityNotLike(String value) {
            addCriterion("ethnicity not like", value, "ethnicity");
            return (Criteria) this;
        }

        public Criteria andEthnicityIn(List<String> values) {
            addCriterion("ethnicity in", values, "ethnicity");
            return (Criteria) this;
        }

        public Criteria andEthnicityNotIn(List<String> values) {
            addCriterion("ethnicity not in", values, "ethnicity");
            return (Criteria) this;
        }

        public Criteria andEthnicityBetween(String value1, String value2) {
            addCriterion("ethnicity between", value1, value2, "ethnicity");
            return (Criteria) this;
        }

        public Criteria andEthnicityNotBetween(String value1, String value2) {
            addCriterion("ethnicity not between", value1, value2, "ethnicity");
            return (Criteria) this;
        }

        public Criteria andBirthplaceIsNull() {
            addCriterion("birthplace is null");
            return (Criteria) this;
        }

        public Criteria andBirthplaceIsNotNull() {
            addCriterion("birthplace is not null");
            return (Criteria) this;
        }

        public Criteria andBirthplaceEqualTo(String value) {
            addCriterion("birthplace =", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceNotEqualTo(String value) {
            addCriterion("birthplace <>", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceGreaterThan(String value) {
            addCriterion("birthplace >", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceGreaterThanOrEqualTo(String value) {
            addCriterion("birthplace >=", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceLessThan(String value) {
            addCriterion("birthplace <", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceLessThanOrEqualTo(String value) {
            addCriterion("birthplace <=", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceLike(String value) {
            addCriterion("birthplace like", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceNotLike(String value) {
            addCriterion("birthplace not like", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceIn(List<String> values) {
            addCriterion("birthplace in", values, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceNotIn(List<String> values) {
            addCriterion("birthplace not in", values, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceBetween(String value1, String value2) {
            addCriterion("birthplace between", value1, value2, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceNotBetween(String value1, String value2) {
            addCriterion("birthplace not between", value1, value2, "birthplace");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatusIsNull() {
            addCriterion("politicalStatus is null");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatusIsNotNull() {
            addCriterion("politicalStatus is not null");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatusEqualTo(String value) {
            addCriterion("politicalStatus =", value, "politicalstatus");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatusNotEqualTo(String value) {
            addCriterion("politicalStatus <>", value, "politicalstatus");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatusGreaterThan(String value) {
            addCriterion("politicalStatus >", value, "politicalstatus");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatusGreaterThanOrEqualTo(String value) {
            addCriterion("politicalStatus >=", value, "politicalstatus");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatusLessThan(String value) {
            addCriterion("politicalStatus <", value, "politicalstatus");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatusLessThanOrEqualTo(String value) {
            addCriterion("politicalStatus <=", value, "politicalstatus");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatusLike(String value) {
            addCriterion("politicalStatus like", value, "politicalstatus");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatusNotLike(String value) {
            addCriterion("politicalStatus not like", value, "politicalstatus");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatusIn(List<String> values) {
            addCriterion("politicalStatus in", values, "politicalstatus");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatusNotIn(List<String> values) {
            addCriterion("politicalStatus not in", values, "politicalstatus");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatusBetween(String value1, String value2) {
            addCriterion("politicalStatus between", value1, value2, "politicalstatus");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatusNotBetween(String value1, String value2) {
            addCriterion("politicalStatus not between", value1, value2, "politicalstatus");
            return (Criteria) this;
        }

        public Criteria andIsdeadIsNull() {
            addCriterion("isDead is null");
            return (Criteria) this;
        }

        public Criteria andIsdeadIsNotNull() {
            addCriterion("isDead is not null");
            return (Criteria) this;
        }

        public Criteria andIsdeadEqualTo(String value) {
            addCriterion("isDead =", value, "isdead");
            return (Criteria) this;
        }

        public Criteria andIsdeadNotEqualTo(String value) {
            addCriterion("isDead <>", value, "isdead");
            return (Criteria) this;
        }

        public Criteria andIsdeadGreaterThan(String value) {
            addCriterion("isDead >", value, "isdead");
            return (Criteria) this;
        }

        public Criteria andIsdeadGreaterThanOrEqualTo(String value) {
            addCriterion("isDead >=", value, "isdead");
            return (Criteria) this;
        }

        public Criteria andIsdeadLessThan(String value) {
            addCriterion("isDead <", value, "isdead");
            return (Criteria) this;
        }

        public Criteria andIsdeadLessThanOrEqualTo(String value) {
            addCriterion("isDead <=", value, "isdead");
            return (Criteria) this;
        }

        public Criteria andIsdeadLike(String value) {
            addCriterion("isDead like", value, "isdead");
            return (Criteria) this;
        }

        public Criteria andIsdeadNotLike(String value) {
            addCriterion("isDead not like", value, "isdead");
            return (Criteria) this;
        }

        public Criteria andIsdeadIn(List<String> values) {
            addCriterion("isDead in", values, "isdead");
            return (Criteria) this;
        }

        public Criteria andIsdeadNotIn(List<String> values) {
            addCriterion("isDead not in", values, "isdead");
            return (Criteria) this;
        }

        public Criteria andIsdeadBetween(String value1, String value2) {
            addCriterion("isDead between", value1, value2, "isdead");
            return (Criteria) this;
        }

        public Criteria andIsdeadNotBetween(String value1, String value2) {
            addCriterion("isDead not between", value1, value2, "isdead");
            return (Criteria) this;
        }

        public Criteria andNationalityIsNull() {
            addCriterion("nationality is null");
            return (Criteria) this;
        }

        public Criteria andNationalityIsNotNull() {
            addCriterion("nationality is not null");
            return (Criteria) this;
        }

        public Criteria andNationalityEqualTo(String value) {
            addCriterion("nationality =", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotEqualTo(String value) {
            addCriterion("nationality <>", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityGreaterThan(String value) {
            addCriterion("nationality >", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityGreaterThanOrEqualTo(String value) {
            addCriterion("nationality >=", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityLessThan(String value) {
            addCriterion("nationality <", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityLessThanOrEqualTo(String value) {
            addCriterion("nationality <=", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityLike(String value) {
            addCriterion("nationality like", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotLike(String value) {
            addCriterion("nationality not like", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityIn(List<String> values) {
            addCriterion("nationality in", values, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotIn(List<String> values) {
            addCriterion("nationality not in", values, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityBetween(String value1, String value2) {
            addCriterion("nationality between", value1, value2, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotBetween(String value1, String value2) {
            addCriterion("nationality not between", value1, value2, "nationality");
            return (Criteria) this;
        }

        public Criteria andMailaddressIsNull() {
            addCriterion("mailAddress is null");
            return (Criteria) this;
        }

        public Criteria andMailaddressIsNotNull() {
            addCriterion("mailAddress is not null");
            return (Criteria) this;
        }

        public Criteria andMailaddressEqualTo(String value) {
            addCriterion("mailAddress =", value, "mailaddress");
            return (Criteria) this;
        }

        public Criteria andMailaddressNotEqualTo(String value) {
            addCriterion("mailAddress <>", value, "mailaddress");
            return (Criteria) this;
        }

        public Criteria andMailaddressGreaterThan(String value) {
            addCriterion("mailAddress >", value, "mailaddress");
            return (Criteria) this;
        }

        public Criteria andMailaddressGreaterThanOrEqualTo(String value) {
            addCriterion("mailAddress >=", value, "mailaddress");
            return (Criteria) this;
        }

        public Criteria andMailaddressLessThan(String value) {
            addCriterion("mailAddress <", value, "mailaddress");
            return (Criteria) this;
        }

        public Criteria andMailaddressLessThanOrEqualTo(String value) {
            addCriterion("mailAddress <=", value, "mailaddress");
            return (Criteria) this;
        }

        public Criteria andMailaddressLike(String value) {
            addCriterion("mailAddress like", value, "mailaddress");
            return (Criteria) this;
        }

        public Criteria andMailaddressNotLike(String value) {
            addCriterion("mailAddress not like", value, "mailaddress");
            return (Criteria) this;
        }

        public Criteria andMailaddressIn(List<String> values) {
            addCriterion("mailAddress in", values, "mailaddress");
            return (Criteria) this;
        }

        public Criteria andMailaddressNotIn(List<String> values) {
            addCriterion("mailAddress not in", values, "mailaddress");
            return (Criteria) this;
        }

        public Criteria andMailaddressBetween(String value1, String value2) {
            addCriterion("mailAddress between", value1, value2, "mailaddress");
            return (Criteria) this;
        }

        public Criteria andMailaddressNotBetween(String value1, String value2) {
            addCriterion("mailAddress not between", value1, value2, "mailaddress");
            return (Criteria) this;
        }

        public Criteria andBriefdescriptionIsNull() {
            addCriterion("briefDescription is null");
            return (Criteria) this;
        }

        public Criteria andBriefdescriptionIsNotNull() {
            addCriterion("briefDescription is not null");
            return (Criteria) this;
        }

        public Criteria andBriefdescriptionEqualTo(String value) {
            addCriterion("briefDescription =", value, "briefdescription");
            return (Criteria) this;
        }

        public Criteria andBriefdescriptionNotEqualTo(String value) {
            addCriterion("briefDescription <>", value, "briefdescription");
            return (Criteria) this;
        }

        public Criteria andBriefdescriptionGreaterThan(String value) {
            addCriterion("briefDescription >", value, "briefdescription");
            return (Criteria) this;
        }

        public Criteria andBriefdescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("briefDescription >=", value, "briefdescription");
            return (Criteria) this;
        }

        public Criteria andBriefdescriptionLessThan(String value) {
            addCriterion("briefDescription <", value, "briefdescription");
            return (Criteria) this;
        }

        public Criteria andBriefdescriptionLessThanOrEqualTo(String value) {
            addCriterion("briefDescription <=", value, "briefdescription");
            return (Criteria) this;
        }

        public Criteria andBriefdescriptionLike(String value) {
            addCriterion("briefDescription like", value, "briefdescription");
            return (Criteria) this;
        }

        public Criteria andBriefdescriptionNotLike(String value) {
            addCriterion("briefDescription not like", value, "briefdescription");
            return (Criteria) this;
        }

        public Criteria andBriefdescriptionIn(List<String> values) {
            addCriterion("briefDescription in", values, "briefdescription");
            return (Criteria) this;
        }

        public Criteria andBriefdescriptionNotIn(List<String> values) {
            addCriterion("briefDescription not in", values, "briefdescription");
            return (Criteria) this;
        }

        public Criteria andBriefdescriptionBetween(String value1, String value2) {
            addCriterion("briefDescription between", value1, value2, "briefdescription");
            return (Criteria) this;
        }

        public Criteria andBriefdescriptionNotBetween(String value1, String value2) {
            addCriterion("briefDescription not between", value1, value2, "briefdescription");
            return (Criteria) this;
        }

        public Criteria andAvatarIsNull() {
            addCriterion("avatar is null");
            return (Criteria) this;
        }

        public Criteria andAvatarIsNotNull() {
            addCriterion("avatar is not null");
            return (Criteria) this;
        }

        public Criteria andAvatarEqualTo(String value) {
            addCriterion("avatar =", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotEqualTo(String value) {
            addCriterion("avatar <>", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarGreaterThan(String value) {
            addCriterion("avatar >", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarGreaterThanOrEqualTo(String value) {
            addCriterion("avatar >=", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLessThan(String value) {
            addCriterion("avatar <", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLessThanOrEqualTo(String value) {
            addCriterion("avatar <=", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLike(String value) {
            addCriterion("avatar like", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotLike(String value) {
            addCriterion("avatar not like", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarIn(List<String> values) {
            addCriterion("avatar in", values, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotIn(List<String> values) {
            addCriterion("avatar not in", values, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarBetween(String value1, String value2) {
            addCriterion("avatar between", value1, value2, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotBetween(String value1, String value2) {
            addCriterion("avatar not between", value1, value2, "avatar");
            return (Criteria) this;
        }

        public Criteria andIspostdoctoralIsNull() {
            addCriterion("isPostdoctoral is null");
            return (Criteria) this;
        }

        public Criteria andIspostdoctoralIsNotNull() {
            addCriterion("isPostdoctoral is not null");
            return (Criteria) this;
        }

        public Criteria andIspostdoctoralEqualTo(String value) {
            addCriterion("isPostdoctoral =", value, "ispostdoctoral");
            return (Criteria) this;
        }

        public Criteria andIspostdoctoralNotEqualTo(String value) {
            addCriterion("isPostdoctoral <>", value, "ispostdoctoral");
            return (Criteria) this;
        }

        public Criteria andIspostdoctoralGreaterThan(String value) {
            addCriterion("isPostdoctoral >", value, "ispostdoctoral");
            return (Criteria) this;
        }

        public Criteria andIspostdoctoralGreaterThanOrEqualTo(String value) {
            addCriterion("isPostdoctoral >=", value, "ispostdoctoral");
            return (Criteria) this;
        }

        public Criteria andIspostdoctoralLessThan(String value) {
            addCriterion("isPostdoctoral <", value, "ispostdoctoral");
            return (Criteria) this;
        }

        public Criteria andIspostdoctoralLessThanOrEqualTo(String value) {
            addCriterion("isPostdoctoral <=", value, "ispostdoctoral");
            return (Criteria) this;
        }

        public Criteria andIspostdoctoralLike(String value) {
            addCriterion("isPostdoctoral like", value, "ispostdoctoral");
            return (Criteria) this;
        }

        public Criteria andIspostdoctoralNotLike(String value) {
            addCriterion("isPostdoctoral not like", value, "ispostdoctoral");
            return (Criteria) this;
        }

        public Criteria andIspostdoctoralIn(List<String> values) {
            addCriterion("isPostdoctoral in", values, "ispostdoctoral");
            return (Criteria) this;
        }

        public Criteria andIspostdoctoralNotIn(List<String> values) {
            addCriterion("isPostdoctoral not in", values, "ispostdoctoral");
            return (Criteria) this;
        }

        public Criteria andIspostdoctoralBetween(String value1, String value2) {
            addCriterion("isPostdoctoral between", value1, value2, "ispostdoctoral");
            return (Criteria) this;
        }

        public Criteria andIspostdoctoralNotBetween(String value1, String value2) {
            addCriterion("isPostdoctoral not between", value1, value2, "ispostdoctoral");
            return (Criteria) this;
        }

        public Criteria andIsturingIsNull() {
            addCriterion("isTuring is null");
            return (Criteria) this;
        }

        public Criteria andIsturingIsNotNull() {
            addCriterion("isTuring is not null");
            return (Criteria) this;
        }

        public Criteria andIsturingEqualTo(String value) {
            addCriterion("isTuring =", value, "isturing");
            return (Criteria) this;
        }

        public Criteria andIsturingNotEqualTo(String value) {
            addCriterion("isTuring <>", value, "isturing");
            return (Criteria) this;
        }

        public Criteria andIsturingGreaterThan(String value) {
            addCriterion("isTuring >", value, "isturing");
            return (Criteria) this;
        }

        public Criteria andIsturingGreaterThanOrEqualTo(String value) {
            addCriterion("isTuring >=", value, "isturing");
            return (Criteria) this;
        }

        public Criteria andIsturingLessThan(String value) {
            addCriterion("isTuring <", value, "isturing");
            return (Criteria) this;
        }

        public Criteria andIsturingLessThanOrEqualTo(String value) {
            addCriterion("isTuring <=", value, "isturing");
            return (Criteria) this;
        }

        public Criteria andIsturingLike(String value) {
            addCriterion("isTuring like", value, "isturing");
            return (Criteria) this;
        }

        public Criteria andIsturingNotLike(String value) {
            addCriterion("isTuring not like", value, "isturing");
            return (Criteria) this;
        }

        public Criteria andIsturingIn(List<String> values) {
            addCriterion("isTuring in", values, "isturing");
            return (Criteria) this;
        }

        public Criteria andIsturingNotIn(List<String> values) {
            addCriterion("isTuring not in", values, "isturing");
            return (Criteria) this;
        }

        public Criteria andIsturingBetween(String value1, String value2) {
            addCriterion("isTuring between", value1, value2, "isturing");
            return (Criteria) this;
        }

        public Criteria andIsturingNotBetween(String value1, String value2) {
            addCriterion("isTuring not between", value1, value2, "isturing");
            return (Criteria) this;
        }

        public Criteria andIsacademicianIsNull() {
            addCriterion("isAcademician is null");
            return (Criteria) this;
        }

        public Criteria andIsacademicianIsNotNull() {
            addCriterion("isAcademician is not null");
            return (Criteria) this;
        }

        public Criteria andIsacademicianEqualTo(String value) {
            addCriterion("isAcademician =", value, "isacademician");
            return (Criteria) this;
        }

        public Criteria andIsacademicianNotEqualTo(String value) {
            addCriterion("isAcademician <>", value, "isacademician");
            return (Criteria) this;
        }

        public Criteria andIsacademicianGreaterThan(String value) {
            addCriterion("isAcademician >", value, "isacademician");
            return (Criteria) this;
        }

        public Criteria andIsacademicianGreaterThanOrEqualTo(String value) {
            addCriterion("isAcademician >=", value, "isacademician");
            return (Criteria) this;
        }

        public Criteria andIsacademicianLessThan(String value) {
            addCriterion("isAcademician <", value, "isacademician");
            return (Criteria) this;
        }

        public Criteria andIsacademicianLessThanOrEqualTo(String value) {
            addCriterion("isAcademician <=", value, "isacademician");
            return (Criteria) this;
        }

        public Criteria andIsacademicianLike(String value) {
            addCriterion("isAcademician like", value, "isacademician");
            return (Criteria) this;
        }

        public Criteria andIsacademicianNotLike(String value) {
            addCriterion("isAcademician not like", value, "isacademician");
            return (Criteria) this;
        }

        public Criteria andIsacademicianIn(List<String> values) {
            addCriterion("isAcademician in", values, "isacademician");
            return (Criteria) this;
        }

        public Criteria andIsacademicianNotIn(List<String> values) {
            addCriterion("isAcademician not in", values, "isacademician");
            return (Criteria) this;
        }

        public Criteria andIsacademicianBetween(String value1, String value2) {
            addCriterion("isAcademician between", value1, value2, "isacademician");
            return (Criteria) this;
        }

        public Criteria andIsacademicianNotBetween(String value1, String value2) {
            addCriterion("isAcademician not between", value1, value2, "isacademician");
            return (Criteria) this;
        }

        public Criteria andIsoverseasacademicianIsNull() {
            addCriterion("isOverseasAcademician is null");
            return (Criteria) this;
        }

        public Criteria andIsoverseasacademicianIsNotNull() {
            addCriterion("isOverseasAcademician is not null");
            return (Criteria) this;
        }

        public Criteria andIsoverseasacademicianEqualTo(String value) {
            addCriterion("isOverseasAcademician =", value, "isoverseasacademician");
            return (Criteria) this;
        }

        public Criteria andIsoverseasacademicianNotEqualTo(String value) {
            addCriterion("isOverseasAcademician <>", value, "isoverseasacademician");
            return (Criteria) this;
        }

        public Criteria andIsoverseasacademicianGreaterThan(String value) {
            addCriterion("isOverseasAcademician >", value, "isoverseasacademician");
            return (Criteria) this;
        }

        public Criteria andIsoverseasacademicianGreaterThanOrEqualTo(String value) {
            addCriterion("isOverseasAcademician >=", value, "isoverseasacademician");
            return (Criteria) this;
        }

        public Criteria andIsoverseasacademicianLessThan(String value) {
            addCriterion("isOverseasAcademician <", value, "isoverseasacademician");
            return (Criteria) this;
        }

        public Criteria andIsoverseasacademicianLessThanOrEqualTo(String value) {
            addCriterion("isOverseasAcademician <=", value, "isoverseasacademician");
            return (Criteria) this;
        }

        public Criteria andIsoverseasacademicianLike(String value) {
            addCriterion("isOverseasAcademician like", value, "isoverseasacademician");
            return (Criteria) this;
        }

        public Criteria andIsoverseasacademicianNotLike(String value) {
            addCriterion("isOverseasAcademician not like", value, "isoverseasacademician");
            return (Criteria) this;
        }

        public Criteria andIsoverseasacademicianIn(List<String> values) {
            addCriterion("isOverseasAcademician in", values, "isoverseasacademician");
            return (Criteria) this;
        }

        public Criteria andIsoverseasacademicianNotIn(List<String> values) {
            addCriterion("isOverseasAcademician not in", values, "isoverseasacademician");
            return (Criteria) this;
        }

        public Criteria andIsoverseasacademicianBetween(String value1, String value2) {
            addCriterion("isOverseasAcademician between", value1, value2, "isoverseasacademician");
            return (Criteria) this;
        }

        public Criteria andIsoverseasacademicianNotBetween(String value1, String value2) {
            addCriterion("isOverseasAcademician not between", value1, value2, "isoverseasacademician");
            return (Criteria) this;
        }

        public Criteria andIsoutstandingIsNull() {
            addCriterion("isOutstanding is null");
            return (Criteria) this;
        }

        public Criteria andIsoutstandingIsNotNull() {
            addCriterion("isOutstanding is not null");
            return (Criteria) this;
        }

        public Criteria andIsoutstandingEqualTo(String value) {
            addCriterion("isOutstanding =", value, "isoutstanding");
            return (Criteria) this;
        }

        public Criteria andIsoutstandingNotEqualTo(String value) {
            addCriterion("isOutstanding <>", value, "isoutstanding");
            return (Criteria) this;
        }

        public Criteria andIsoutstandingGreaterThan(String value) {
            addCriterion("isOutstanding >", value, "isoutstanding");
            return (Criteria) this;
        }

        public Criteria andIsoutstandingGreaterThanOrEqualTo(String value) {
            addCriterion("isOutstanding >=", value, "isoutstanding");
            return (Criteria) this;
        }

        public Criteria andIsoutstandingLessThan(String value) {
            addCriterion("isOutstanding <", value, "isoutstanding");
            return (Criteria) this;
        }

        public Criteria andIsoutstandingLessThanOrEqualTo(String value) {
            addCriterion("isOutstanding <=", value, "isoutstanding");
            return (Criteria) this;
        }

        public Criteria andIsoutstandingLike(String value) {
            addCriterion("isOutstanding like", value, "isoutstanding");
            return (Criteria) this;
        }

        public Criteria andIsoutstandingNotLike(String value) {
            addCriterion("isOutstanding not like", value, "isoutstanding");
            return (Criteria) this;
        }

        public Criteria andIsoutstandingIn(List<String> values) {
            addCriterion("isOutstanding in", values, "isoutstanding");
            return (Criteria) this;
        }

        public Criteria andIsoutstandingNotIn(List<String> values) {
            addCriterion("isOutstanding not in", values, "isoutstanding");
            return (Criteria) this;
        }

        public Criteria andIsoutstandingBetween(String value1, String value2) {
            addCriterion("isOutstanding between", value1, value2, "isoutstanding");
            return (Criteria) this;
        }

        public Criteria andIsoutstandingNotBetween(String value1, String value2) {
            addCriterion("isOutstanding not between", value1, value2, "isoutstanding");
            return (Criteria) this;
        }

        public Criteria andSourceIsNull() {
            addCriterion("source is null");
            return (Criteria) this;
        }

        public Criteria andSourceIsNotNull() {
            addCriterion("source is not null");
            return (Criteria) this;
        }

        public Criteria andSourceEqualTo(String value) {
            addCriterion("source =", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotEqualTo(String value) {
            addCriterion("source <>", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceGreaterThan(String value) {
            addCriterion("source >", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceGreaterThanOrEqualTo(String value) {
            addCriterion("source >=", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLessThan(String value) {
            addCriterion("source <", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLessThanOrEqualTo(String value) {
            addCriterion("source <=", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLike(String value) {
            addCriterion("source like", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotLike(String value) {
            addCriterion("source not like", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceIn(List<String> values) {
            addCriterion("source in", values, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotIn(List<String> values) {
            addCriterion("source not in", values, "source");
            return (Criteria) this;
        }

        public Criteria andSourceBetween(String value1, String value2) {
            addCriterion("source between", value1, value2, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotBetween(String value1, String value2) {
            addCriterion("source not between", value1, value2, "source");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCreaterTimeIsNull() {
            addCriterion("creater_time is null");
            return (Criteria) this;
        }

        public Criteria andCreaterTimeIsNotNull() {
            addCriterion("creater_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreaterTimeEqualTo(Date value) {
            addCriterion("creater_time =", value, "createrTime");
            return (Criteria) this;
        }

        public Criteria andCreaterTimeNotEqualTo(Date value) {
            addCriterion("creater_time <>", value, "createrTime");
            return (Criteria) this;
        }

        public Criteria andCreaterTimeGreaterThan(Date value) {
            addCriterion("creater_time >", value, "createrTime");
            return (Criteria) this;
        }

        public Criteria andCreaterTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("creater_time >=", value, "createrTime");
            return (Criteria) this;
        }

        public Criteria andCreaterTimeLessThan(Date value) {
            addCriterion("creater_time <", value, "createrTime");
            return (Criteria) this;
        }

        public Criteria andCreaterTimeLessThanOrEqualTo(Date value) {
            addCriterion("creater_time <=", value, "createrTime");
            return (Criteria) this;
        }

        public Criteria andCreaterTimeIn(List<Date> values) {
            addCriterion("creater_time in", values, "createrTime");
            return (Criteria) this;
        }

        public Criteria andCreaterTimeNotIn(List<Date> values) {
            addCriterion("creater_time not in", values, "createrTime");
            return (Criteria) this;
        }

        public Criteria andCreaterTimeBetween(Date value1, Date value2) {
            addCriterion("creater_time between", value1, value2, "createrTime");
            return (Criteria) this;
        }

        public Criteria andCreaterTimeNotBetween(Date value1, Date value2) {
            addCriterion("creater_time not between", value1, value2, "createrTime");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("email is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("email is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("email =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("email <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("email >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("email >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("email <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("email <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("email like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("email not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("email in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("email not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("email between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("email not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatustimeIsNull() {
            addCriterion("politicalStatusTime is null");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatustimeIsNotNull() {
            addCriterion("politicalStatusTime is not null");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatustimeEqualTo(Date value) {
            addCriterion("politicalStatusTime =", value, "politicalstatustime");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatustimeNotEqualTo(Date value) {
            addCriterion("politicalStatusTime <>", value, "politicalstatustime");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatustimeGreaterThan(Date value) {
            addCriterion("politicalStatusTime >", value, "politicalstatustime");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatustimeGreaterThanOrEqualTo(Date value) {
            addCriterion("politicalStatusTime >=", value, "politicalstatustime");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatustimeLessThan(Date value) {
            addCriterion("politicalStatusTime <", value, "politicalstatustime");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatustimeLessThanOrEqualTo(Date value) {
            addCriterion("politicalStatusTime <=", value, "politicalstatustime");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatustimeIn(List<Date> values) {
            addCriterion("politicalStatusTime in", values, "politicalstatustime");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatustimeNotIn(List<Date> values) {
            addCriterion("politicalStatusTime not in", values, "politicalstatustime");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatustimeBetween(Date value1, Date value2) {
            addCriterion("politicalStatusTime between", value1, value2, "politicalstatustime");
            return (Criteria) this;
        }

        public Criteria andPoliticalstatustimeNotBetween(Date value1, Date value2) {
            addCriterion("politicalStatusTime not between", value1, value2, "politicalstatustime");
            return (Criteria) this;
        }

        public Criteria andResearchareaIsNull() {
            addCriterion("researchArea is null");
            return (Criteria) this;
        }

        public Criteria andResearchareaIsNotNull() {
            addCriterion("researchArea is not null");
            return (Criteria) this;
        }

        public Criteria andResearchareaEqualTo(String value) {
            addCriterion("researchArea =", value, "researcharea");
            return (Criteria) this;
        }

        public Criteria andResearchareaNotEqualTo(String value) {
            addCriterion("researchArea <>", value, "researcharea");
            return (Criteria) this;
        }

        public Criteria andResearchareaGreaterThan(String value) {
            addCriterion("researchArea >", value, "researcharea");
            return (Criteria) this;
        }

        public Criteria andResearchareaGreaterThanOrEqualTo(String value) {
            addCriterion("researchArea >=", value, "researcharea");
            return (Criteria) this;
        }

        public Criteria andResearchareaLessThan(String value) {
            addCriterion("researchArea <", value, "researcharea");
            return (Criteria) this;
        }

        public Criteria andResearchareaLessThanOrEqualTo(String value) {
            addCriterion("researchArea <=", value, "researcharea");
            return (Criteria) this;
        }

        public Criteria andResearchareaLike(String value) {
            addCriterion("researchArea like", value, "researcharea");
            return (Criteria) this;
        }

        public Criteria andResearchareaNotLike(String value) {
            addCriterion("researchArea not like", value, "researcharea");
            return (Criteria) this;
        }

        public Criteria andResearchareaIn(List<String> values) {
            addCriterion("researchArea in", values, "researcharea");
            return (Criteria) this;
        }

        public Criteria andResearchareaNotIn(List<String> values) {
            addCriterion("researchArea not in", values, "researcharea");
            return (Criteria) this;
        }

        public Criteria andResearchareaBetween(String value1, String value2) {
            addCriterion("researchArea between", value1, value2, "researcharea");
            return (Criteria) this;
        }

        public Criteria andResearchareaNotBetween(String value1, String value2) {
            addCriterion("researchArea not between", value1, value2, "researcharea");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNull() {
            addCriterion("province is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNotNull() {
            addCriterion("province is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceEqualTo(String value) {
            addCriterion("province =", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotEqualTo(String value) {
            addCriterion("province <>", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThan(String value) {
            addCriterion("province >", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("province >=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThan(String value) {
            addCriterion("province <", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThanOrEqualTo(String value) {
            addCriterion("province <=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLike(String value) {
            addCriterion("province like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotLike(String value) {
            addCriterion("province not like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceIn(List<String> values) {
            addCriterion("province in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotIn(List<String> values) {
            addCriterion("province not in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceBetween(String value1, String value2) {
            addCriterion("province between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotBetween(String value1, String value2) {
            addCriterion("province not between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("city is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("city is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("city =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("city <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("city >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("city >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("city <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("city <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("city like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("city not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("city in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("city not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("city between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("city not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCountyDistrictIsNull() {
            addCriterion("county_district is null");
            return (Criteria) this;
        }

        public Criteria andCountyDistrictIsNotNull() {
            addCriterion("county_district is not null");
            return (Criteria) this;
        }

        public Criteria andCountyDistrictEqualTo(String value) {
            addCriterion("county_district =", value, "countyDistrict");
            return (Criteria) this;
        }

        public Criteria andCountyDistrictNotEqualTo(String value) {
            addCriterion("county_district <>", value, "countyDistrict");
            return (Criteria) this;
        }

        public Criteria andCountyDistrictGreaterThan(String value) {
            addCriterion("county_district >", value, "countyDistrict");
            return (Criteria) this;
        }

        public Criteria andCountyDistrictGreaterThanOrEqualTo(String value) {
            addCriterion("county_district >=", value, "countyDistrict");
            return (Criteria) this;
        }

        public Criteria andCountyDistrictLessThan(String value) {
            addCriterion("county_district <", value, "countyDistrict");
            return (Criteria) this;
        }

        public Criteria andCountyDistrictLessThanOrEqualTo(String value) {
            addCriterion("county_district <=", value, "countyDistrict");
            return (Criteria) this;
        }

        public Criteria andCountyDistrictLike(String value) {
            addCriterion("county_district like", value, "countyDistrict");
            return (Criteria) this;
        }

        public Criteria andCountyDistrictNotLike(String value) {
            addCriterion("county_district not like", value, "countyDistrict");
            return (Criteria) this;
        }

        public Criteria andCountyDistrictIn(List<String> values) {
            addCriterion("county_district in", values, "countyDistrict");
            return (Criteria) this;
        }

        public Criteria andCountyDistrictNotIn(List<String> values) {
            addCriterion("county_district not in", values, "countyDistrict");
            return (Criteria) this;
        }

        public Criteria andCountyDistrictBetween(String value1, String value2) {
            addCriterion("county_district between", value1, value2, "countyDistrict");
            return (Criteria) this;
        }

        public Criteria andCountyDistrictNotBetween(String value1, String value2) {
            addCriterion("county_district not between", value1, value2, "countyDistrict");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}